<!doctype html>
<html lang="">

<head>
  <title>ESP32 VueJS</title>
  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <title></title>
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width, initial-scale=1">
</head>

<body>
  <link rel="stylesheet" href="vendor/google-fonts.css">
  <link rel="stylesheet" href="vendor/material.css">
  <link rel="stylesheet" href="css/main.css">
  
  <div id="app">
      <div class="mdl-card mdl-shadow--2dp">
          <div class="mdl-card__title mdl-card--expand">
              <h2 class="mdl-card__title-text">Async GPIO</h2>
          </div>
  
          <div class="mdl-card__supporting-text">
              <h6>Input example:</h6>
              <ul class="mdl-list mdl-shadow--2dp">
                  <gpio-input v-for="item in gpio_input_list" :gpio="item" :key="item.id" />
              </ul>
          </div>
  
          <div class="mdl-card__supporting-text">
              <h6>Ouput example:</h6>
              <ul class="mdl-list mdl-shadow--2dp">
                  <gpio-output v-for="item in gpio_output_list" v-bind:gpio="item" v-bind:key="item.id" />
                </ul>
                <ul class="mdl-list mdl-shadow--2dp">
                  <pwm v-for="item in pwm_list" :gpio="item" :key="item.id" />
              </ul>
          </div>

          <div class="mdl-card__supporting-text ">
              <div>
                  <h6>Actions example:</h6>
                  <action v-for="item in action_list" :action="item" :key="item.id" />
              </div>
          </div>
      </div>
  </div>


  <!-- Desde CDN -->
  <!--<script src="https://cdn.jsdelivr.net/npm/vue@2.6.10/dist/vue.min.js"></script>-->
  <script type="text/javascript" src="vendor/vue.min.js"></script>
  <script type="text/javascript" src="vendor/material.js"></script>
  <script type="text/javascript" src="vendor/nativeWs.min.js"></script>


  <!-- Cargamos el fichero que contiene nuestra App en Vue.JS -->
  <script type="text/javascript" src="js/app.js"></script>
</body>

</html>